package cn.fuck;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Q1 {
    public static void change(String s) {
        s = "sb";
    }

    public static void main(String[] args) {
        String s = new String("abc");
        String n = new String("abc");
        System.out.println("s == n: " + (s == n));
        System.out.println("s.equals(n) : " + s.equals(n));
        String s1 = "def";
        String s2 = "def";
        System.out.println("s1 == s2: " + (s1 == s2));
        System.out.println("s1.equals(s2): " + s1.equals(s2));

    }
}
